package com.atung.merchant.service;

import com.atung.merchant.enums.RoomState;
import com.atung.merchant.po.BusMerchantRoom;
import com.atung.merchant.result.ApiResult;
import com.atung.merchant.vo.IdRequest;
import com.atung.merchant.vo.RoomInfoEntity;
import com.atung.merchant.vo.query.QueryRoomInfoRequest;
import com.atung.merchant.vo.save.SaveRoomRequest;

import java.util.List;

/**
 * @author Administrator
 */
public interface RoomService {

    Integer updateRoomStateById(Long id, RoomState roomState);


    BusMerchantRoom selectRoomById(Long id);

    ApiResult saveRoomInfoService(SaveRoomRequest saveRoomRequest);

    List<RoomInfoEntity> getRoomListService(QueryRoomInfoRequest queryRoomInfoRequest);


    ApiResult deleteRoomInfoService(IdRequest idRequest);
}
